Hello,
I am having trouble with using groups for page auth permissions.
Through debug I am able to see the list of ldap groups that the getUserData retrieves when called from checkPass. However the second call to getUserData (from auth_login, line 128) returns false. I have tracked the false return back to getUserData not being able to retrieve a user record. I have tried using a binddn and bindpw, and it works flawlessly, but this isn't an ideal situation. Anonymous bind works the first time to pull the user data, but for some reason fails on the second call. I have also tried with and without version with out any noticeable difference.
Here are my local settings:
$conf['title'] = 'Blah Test';
$conf['template'] = 'new_template';
$conf['savedir'] = 'sanitized;
$conf['youarehere'] = 1;
$conf['useacl'] = 1;
$conf['authtype'] = 'ldap';
$conf['superuser'] = 'user_name';
$conf['manager'] = '@sanitized';
$conf['disableactions'] = 'register,profile';
$conf['phpok'] = 1;
$conf['subscribers'] = 1;
$conf['openregister'] = '0';
$conf['auth']['ldap']['server'] = 'server_name_sanitized';
$conf['auth']['ldap']['port'] = '389';
$conf['auth']['ldap']['usertree'] = 'sanitized';
$conf['auth']['ldap']['grouptree'] = 'sanitized';
$conf['auth']['ldap']['userfilter'] = '(&(objectClass=inetOrgPerson)(uid=%{user}))';
$conf['auth']['ldap']['groupfilter'] = '(&(objectClass=groupOfUniqueNames)(uniqueMember=%{dn})(cn=*))';
#$conf['auth']['ldap']['version'] = 3;
$conf['auth']['ldap']['debug'] = '1';
$conf['debug'] = '1';
Not sure if it matters, but we are using php 5.2.6.
Is there something else I can try or is this a bug I need to report?
TIA,
Oorastard